package com.zxw.user.event;

import com.zxw.common.entity.user.UserVO;
import org.springframework.context.ApplicationEvent;

/**
 * 第一步：事件类
 * 参考：https://blog.csdn.net/qq_28060549/article/details/81073001
 *
 * @author admin
 */
public class UserLoginEvent extends ApplicationEvent {

    private UserVO userVO;

    public UserLoginEvent(Object source, UserVO userVO) {
        super(source);
        this.userVO = userVO;
    }

    public UserVO getUserVO() {
        return userVO;
    }
}
